package yl.hs.bmipfull.pojo.finance;

import lombok.Data;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;


@DBTable(disName = "采购运费结算明细", mapCode = "receipt_freight_settle_detail")
@Data
public class ReceiptFreightSettleDetailEntity extends BaseEntity {
    private Long id;
    @DBField(disName = "编号", mapCode = "sn", isSerialNumber = true, snPrefix = "YFMX")
    private String sn;

    private String settleSN;
    private String title;
    private String truckPlate;
    private String supplierSN;
    private String supplierName;
    private String rmSN;
    private String rmName;
    private String rmSpec;
    private String rmBrand;
    private int orderCount;
    private BigDecimal freightAmount = BigDecimal.ZERO;
    private String remark;

    /**
     * 总审核重量
     */
    private BigDecimal totalWeight;

    @DBField(disName = "承运商SN", mapCode = "transTeam")
    private String carrierSn;
    @DBField(disName = "承运商名称", mapCode = "carrierName")
    private String carrierName;

    private BigDecimal freightPrice;
}
